/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package beanView;

import Modelos.Planta;
import java.io.Serializable;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;

/**
 *
 * @author brayitan
 */
@ManagedBean
@ViewScoped
public class beanCreatePlanta implements Serializable{
    private Planta PL = new Planta();
    
    public String reinit(){
        PL = new Planta();
        return null;
    }

    public Planta getPL() {
        return PL;
    }

    public void setPL(Planta PL) {
        this.PL = PL;
    }
    
}
